package com.ych.service;

import com.ych.beans.Alarm;
import com.ych.beans.Message;

import java.util.Date;

public interface AlarmService {
    Message addAlarm(Alarm alarm);

    Message selectAlarm(Integer pageNo, Boolean key, Date from, Date end);

    Message updateAlarm(Alarm alarm);
}
